public class InGameTutorialDisabler : InGameTutorialObject
{
	public override bool OnStepStart(string name)
	{
		if (base.OnStepStart(name))
		{
			base.gameObject.SetActive(false);
			return true;
		}
		return false;
	}

	public override void OnEnable()
	{
		for (int i = 0; i < values.Length; i++)
		{
			if (values[i].started)
			{
				base.gameObject.SetActive(false);
				break;
			}
		}
	}

	public override void OnEnd()
	{
		for (int i = 0; i < values.Length; i++)
		{
			if (values[i].started)
			{
				base.gameObject.SetActive(true);
			}
		}
		base.OnEnd();
	}
}
